package com.soup.lab.basic.compiler;

import org.junit.jupiter.api.Test;

public class IntegerTestCase {

    @Test
    public void test1() {
        Integer a = null;
        Integer b = 1;
        System.out.println(a == b);
    }

    @Test
    public void test2() {
        Integer a = null;
        int b = 1;
        // 一方为基础类型，自动拆箱，a.intValue 空指针
        System.out.println(a == b);
    }

}
